# $Id$
# Maintainer: Andrea Scarpino <andrea@archlinux.org>

pkgname=fastjar
pkgver=0.98
pkgrel=4
pkgdesc="Sun java jar compatible archiver"
arch=('i686' 'x86_64')
url="http://savannah.nongnu.org/projects/fastjar"
license=('GPL')
depends=('zlib' 'texinfo')
source=("http://download.savannah.nongnu.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.gz")
md5sums=('d2d264d343d4d0e1575832cc1023c3bf')

build() {
  cd ${srcdir}/${pkgname}-${pkgver}
  ./configure --prefix=/usr
  make
}

package() {
  cd ${srcdir}/${pkgname}-${pkgver}
  make DESTDIR=${pkgdir} install
}
